<template>
  <div class="pagination">
    <button class="pagination__btn">
      <span class="iconfont icon-arrow-left-bold"></span>
    </button>
    <ul class="pagination__pager">
      <li class="pagination__pager-number active">1</li>
      <li class="pagination__pager-number">2</li>
      <li class="pagination__pager-number">3</li>
    </ul>
    <button class="pagination__btn">
      <span class="iconfont icon-arrow-right-bold"></span>
    </button>
    <span class="pagination__total">共 3 条</span>
  </div>
</template>

<script>
export default {
  name: "Pager",
};
</script>

<style lang="less" scoped>
.pagination {
  display: flex;
  align-items: center;
}

.pagination__pager {
  display: flex;
  align-items: center;
}

.pagination__pager-number,
.pagination__btn {
  width: 30px;
  height: 30px;
  background-color: #eaeaea;
  color: #333;
  font-weight: 700;
  text-align: center;
  line-height: 30px;
  margin: 0 5px;
  border-radius: 2px;
  cursor: pointer;
}

.active {
  color: #fff;
  background-color: #c81623;
}

.pagination__btn {
  border: none;
}
.pagination__page-sizes {
  height: 30px;
  margin: 0 10px;
  outline: none;
}

.pagination__total {
  font-size: 14px;
  font-weight: 700;
}
</style>
